#!/bin/bash

read -a array < ./ver
VER=${array[0]}

FIRST=`echo $VER | awk 'BEGIN { FS="." }{print $1}'`
SECOND=`echo $VER | awk 'BEGIN { FS="." }{print $2}'`

NEW_VER=$[ $SECOND + 1 ]

echo $FIRST.$NEW_VER > ./ver

rm -f *.py
cp ../src/*.py .
